package com.plian.system.entity.fr.evaluation;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 评估师
 * </p>
 *
 * @author hu song
 * @since 2023-03-30 14:23:07
 */
@Getter
@Setter
@TableName("fr_appraiser")
@ApiModel(value = "Appraiser对象", description = "评估师")
public class Appraiser implements Serializable {
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty("评估师名字")
    private String name;

    @ApiModelProperty("证书编号")
    private String certificateNo;

    @ApiModelProperty("联系方式")
    private String contact;

    @ApiModelProperty("资产评估报告核准id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long assetEvaluationApprovalId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


}
